#ifndef __PVMOSDEP_H__
#define __PVMOSDEP_H__

#include "pvm/pvmdefs.h"
#include "pvm/pvmtypes.h"

#include <e32std.h>
#include <f32file.h>
#include <e32const.h> 
#include <string.h>
#include <stdlib.h>


typedef RMutex	PVMCriticalSection;
typedef RCriticalSection	PVMEventHandle;

typedef struct _PVMThreadHandle
{
	RThread thread;
	pvm_bool isValid;
} PVMThreadHandle;

typedef TInt PVMThreadRetVal;
typedef PVMThreadRetVal (PVMCALL *PVMThreadStartRoutine)(void* param);
typedef RFile* PVMFileHandle;

#define PVM_FILE_OPEN_ERROR		NULL 
#define PVM_EMPTY_FILE_HANDLE	NULL

#endif

